﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Blogsystem.IBLL
{
 public interface IUserManger
    {

        Task Register(string email, string password);
        bool Login(string email, string password, out Guid userid);
        Task ChangePassword(string email, string oldPwd, string newPath);
        Task ChangeUserInformation(string email, string siteName, string imagePwd);
        Task<Dto.UserInformationDto> GetUserByEmail(string email);
    }
}
